/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfoeducation.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.lczyfz.campusinfo.common.persistence.Page;
import com.lczyfz.campusinfo.common.service.CrudService;
import com.lczyfz.campusinfo.modules.campusinfoeducation.entity.CampusinfoRegion;
import com.lczyfz.campusinfo.modules.campusinfoeducation.dao.CampusinfoRegionDao;

/**
 * 地区管理Service
 *
 * @author yt
 * @version 2017-10-18
 */
@Service
@Transactional(readOnly = true)
public class CampusinfoRegionService extends CrudService<CampusinfoRegionDao, CampusinfoRegion> {

    public CampusinfoRegion get(String id) {
        return super.get(id);
    }

    public List<CampusinfoRegion> findList(CampusinfoRegion campusinfoRegion) {
        return super.findList(campusinfoRegion);
    }

    public Page<CampusinfoRegion> findPage(Page<CampusinfoRegion> page, CampusinfoRegion campusinfoRegion) {
        return super.findPage(page, campusinfoRegion);
    }

    @Transactional(readOnly = false)
    public void save(CampusinfoRegion campusinfoRegion) {
        super.save(campusinfoRegion);
    }

    @Transactional(readOnly = false)
    public void delete(CampusinfoRegion campusinfoRegion) {
        super.delete(campusinfoRegion);
    }

}